﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: ModelTemplatesEntity.cs
// 修改时间：2020-9-8 10:40:06
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：ModelTemplates 的实体类.
	/// </summary>
	[Table("ModelTemplates")]
	public partial class ModelTemplatesEntity
	{
		#region Properties
		private int? _templateID = 0;
		/// <summary>
		/// 模型模板ID(主键)
		/// </summary>
		[Column("TemplateID",TypeName="int")]
		[Key]
		public int? TemplateID
		{
			get {return _templateID;}
			set {_templateID = value;}
		}
		
		private System.String _templateName = string.Empty;
		/// <summary>
		/// 模型模板名
		/// </summary>
		[Column("TemplateName",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TemplateName
		{
			get {return _templateName;}
			set {_templateName = value;}
		}
		
		private System.String _templateDescription = string.Empty;
		/// <summary>
		/// 模型模板描述
		/// </summary>
		[Column("TemplateDescription",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TemplateDescription
		{
			get {return _templateDescription;}
			set {_templateDescription = value;}
		}
		
		private System.String _field = string.Empty;
		/// <summary>
		/// 模型模板XML
		/// </summary>
		[Column("Field",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Field
		{
			get {return _field;}
			set {_field = value;}
		}
		
		private System.Boolean _isEshop = false;
		/// <summary>
		/// 模型类型
		/// </summary>
		[Column("IsEshop",TypeName="bit")]
		public System.Boolean IsEshop
		{
			get {return _isEshop;}
			set {_isEshop = value;}
		}
		
		#endregion
	}
}
